package com.ymatou.iapi.prodstock.parameter;

import java.math.BigDecimal;
import java.util.Date;

public class AgentProductPo {
//	新增字段：SubTitle nvarchar(500) null comment '商品副标题'
	private String SubTitle;
//	新增字段：SaleArea int not null default 0 comment '销售区域：0- 不限制，1- 仅限中国境内，2- 仅境外'
	private Integer SaleArea;
//	新增字段：CollectionGoodsAddress varchar(200) null comment '自提点'
	private String CollectionGoodsAddress;
	
	public String getSubTitle() {
		return SubTitle;
	}

	public void setSubTitle(String subTitle) {
		SubTitle = subTitle;
	}

	public Integer getSaleArea() {
		return SaleArea;
	}

	public void setSaleArea(Integer saleArea) {
		SaleArea = saleArea;
	}

	public String getCollectionGoodsAddress() {
		return CollectionGoodsAddress;
	}

	public void setCollectionGoodsAddress(String collectionGoodsAddress) {
		CollectionGoodsAddress = collectionGoodsAddress;
	}

	/** 最小起购数量 */
	private Integer minOrderNum;
	/** 是否支持快递配送 */
	private Boolean expressDelivery;
	/** 是否支持上门自提 */
	private Boolean collectionGoods;

	private String productId;
	private int userId;
	private int agentType;
	private boolean setAgentPrice;
	private int status;
	private int infoProgress;
	private int action;
	private int parentUserId;
	private String parentProductId;
	private int rootUserId;
	private String rootProductId;
	private Date createTime;
	private Date updateTime;
	private String AgentChain;
	private String currency;
	private boolean invisible;
	private BigDecimal TariffRate;
	private String MarketCurrency;
	private boolean IsDomestic;
	private boolean AutoMarkup;

	public BigDecimal getTariffRate() {
		return TariffRate;
	}

	public void setTariffRate(BigDecimal tariffRate) {
		TariffRate = tariffRate;
	}

	public String getMarketCurrency() {
		return MarketCurrency;
	}

	public void setMarketCurrency(String marketCurrency) {
		MarketCurrency = marketCurrency;
	}

	public boolean getIsDomestic() {
		return IsDomestic;
	}

	public void setIsDomestic(boolean isDomestic) {
		IsDomestic = isDomestic;
	}

	public boolean getAutoMarkup() {
		return AutoMarkup;
	}

	public void setAutoMarkup(boolean autoMarkup) {
		AutoMarkup = autoMarkup;
	}

	public boolean isInvisible() {
		return invisible;
	}

	public void setInvisible(boolean invisible) {
		this.invisible = invisible;
	}

	public String getAgentChain() {
		return AgentChain;
	}

	public void setAgentChain(String agentChain) {
		AgentChain = agentChain;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getAgentType() {
		return agentType;
	}

	public void setAgentType(int agentType) {
		this.agentType = agentType;
	}

	public boolean isSetAgentPrice() {
		return setAgentPrice;
	}

	public void setSetAgentPrice(boolean setAgentPrice) {
		this.setAgentPrice = setAgentPrice;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getInfoProgress() {
		return infoProgress;
	}

	public void setInfoProgress(int infoProgress) {
		this.infoProgress = infoProgress;
	}

	public int getAction() {
		return action;
	}

	public void setAction(int action) {
		this.action = action;
	}

	public int getParentUserId() {
		return parentUserId;
	}

	public void setParentUserId(int parentUserId) {
		this.parentUserId = parentUserId;
	}

	public String getParentProductId() {
		return parentProductId;
	}

	public void setParentProductId(String parentProductId) {
		this.parentProductId = parentProductId;
	}

	public int getRootUserId() {
		return rootUserId;
	}

	public void setRootUserId(int rootUserId) {
		this.rootUserId = rootUserId;
	}

	public String getRootProductId() {
		return rootProductId;
	}

	public void setRootProductId(String rootProductId) {
		this.rootProductId = rootProductId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	/**
	 * @return the minOrderNum
	 */
	public Integer getMinOrderNum() {
		return minOrderNum;
	}

	/**
	 * @param minOrderNum
	 *            the minOrderNum to set
	 */
	public void setMinOrderNum(Integer minOrderNum) {
		this.minOrderNum = minOrderNum;
	}

	/**
	 * @return the expressDelivery
	 */
	public Boolean getExpressDelivery() {
		return expressDelivery;
	}

	/**
	 * @param expressDelivery
	 *            the expressDelivery to set
	 */
	public void setExpressDelivery(Boolean expressDelivery) {
		this.expressDelivery = expressDelivery;
	}

	/**
	 * @return the collectionGoods
	 */
	public Boolean getCollectionGoods() {
		return collectionGoods;
	}

	/**
	 * @param collectionGoods
	 *            the collectionGoods to set
	 */
	public void setCollectionGoods(Boolean collectionGoods) {
		this.collectionGoods = collectionGoods;
	}

	public String getCurrency() {
		return currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}

	
	 private String productParam;


	    public String getProductParam() {
			return productParam;
		}

		public void setProductParam(String productParam) {
			this.productParam = productParam;
		}
		
	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "AgentProductPo [minOrderNum=" + minOrderNum + ", expressDelivery=" + expressDelivery
				+ ", collectionGoods=" + collectionGoods + ", productId=" + productId + ", userId=" + userId
				+ ", agentType=" + agentType + ", setAgentPrice=" + setAgentPrice + ", status=" + status
				+ ", infoProgress=" + infoProgress + ", action=" + action + ", parentUserId=" + parentUserId
				+ ", parentProductId=" + parentProductId + ", rootUserId=" + rootUserId + ", rootProductId="
				+ rootProductId + ", createTime=" + createTime + ", updateTime=" + updateTime + ", AgentChain="
				+ AgentChain + ", currency=" + currency + ", invisible=" + invisible + ", TariffRate=" + TariffRate
				+ ", MarketCurrency=" + MarketCurrency + ", IsDomestic=" + IsDomestic + ", AutoMarkup=" + AutoMarkup+ ", ProductParam=" + productParam
				+ "]";
	}

}
